# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file '/media/sda6/Project/PyQt/MMC/transaksi.ui'
#
# Created: Sat Jan 10 14:09:43 2009
#      by: PyQt4 UI code generator 4.3.3
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

class Ui_TransaksiDlg(object):
    def setupUi(self, TransaksiDlg):
        TransaksiDlg.setObjectName("TransaksiDlg")
        TransaksiDlg.resize(QtCore.QSize(QtCore.QRect(0,0,960,464).size()).expandedTo(TransaksiDlg.minimumSizeHint()))

        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,QtGui.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(TransaksiDlg.sizePolicy().hasHeightForWidth())
        TransaksiDlg.setSizePolicy(sizePolicy)

        self.gridlayout = QtGui.QGridLayout(TransaksiDlg)
        self.gridlayout.setObjectName("gridlayout")

        self.vboxlayout = QtGui.QVBoxLayout()
        self.vboxlayout.setObjectName("vboxlayout")

        self.hboxlayout = QtGui.QHBoxLayout()
        self.hboxlayout.setObjectName("hboxlayout")

        self.noMmc_cb = QtGui.QCheckBox(TransaksiDlg)
        self.noMmc_cb.setObjectName("noMmc_cb")
        self.hboxlayout.addWidget(self.noMmc_cb)

        self.noMmc = QtGui.QLineEdit(TransaksiDlg)

        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.noMmc.sizePolicy().hasHeightForWidth())
        self.noMmc.setSizePolicy(sizePolicy)
        self.noMmc.setObjectName("noMmc")
        self.hboxlayout.addWidget(self.noMmc)

        self.nama_cb = QtGui.QCheckBox(TransaksiDlg)
        self.nama_cb.setObjectName("nama_cb")
        self.hboxlayout.addWidget(self.nama_cb)

        self.nama = QtGui.QLineEdit(TransaksiDlg)

        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.nama.sizePolicy().hasHeightForWidth())
        self.nama.setSizePolicy(sizePolicy)
        self.nama.setObjectName("nama")
        self.hboxlayout.addWidget(self.nama)

        self.tgl_cb = QtGui.QCheckBox(TransaksiDlg)
        self.tgl_cb.setChecked(True)
        self.tgl_cb.setObjectName("tgl_cb")
        self.hboxlayout.addWidget(self.tgl_cb)

        self.tgl_aw = QtGui.QDateEdit(TransaksiDlg)

        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.tgl_aw.sizePolicy().hasHeightForWidth())
        self.tgl_aw.setSizePolicy(sizePolicy)
        self.tgl_aw.setCalendarPopup(True)
        self.tgl_aw.setObjectName("tgl_aw")
        self.hboxlayout.addWidget(self.tgl_aw)

        self.label = QtGui.QLabel(TransaksiDlg)
        self.label.setObjectName("label")
        self.hboxlayout.addWidget(self.label)

        self.tgl_ak = QtGui.QDateEdit(TransaksiDlg)
        self.tgl_ak.setCalendarPopup(True)
        self.tgl_ak.setObjectName("tgl_ak")
        self.hboxlayout.addWidget(self.tgl_ak)

        self.noDok_cb = QtGui.QCheckBox(TransaksiDlg)
        self.noDok_cb.setObjectName("noDok_cb")
        self.hboxlayout.addWidget(self.noDok_cb)

        self.noDok = QtGui.QLineEdit(TransaksiDlg)

        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.noDok.sizePolicy().hasHeightForWidth())
        self.noDok.setSizePolicy(sizePolicy)
        self.noDok.setObjectName("noDok")
        self.hboxlayout.addWidget(self.noDok)

        spacerItem = QtGui.QSpacerItem(40,20,QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Minimum)
        self.hboxlayout.addItem(spacerItem)
        self.vboxlayout.addLayout(self.hboxlayout)

        self.masterTv = QtGui.QTableView(TransaksiDlg)

        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(3)
        sizePolicy.setHeightForWidth(self.masterTv.sizePolicy().hasHeightForWidth())
        self.masterTv.setSizePolicy(sizePolicy)
        self.masterTv.setAlternatingRowColors(True)
        self.masterTv.setObjectName("masterTv")
        self.vboxlayout.addWidget(self.masterTv)

        self.hboxlayout1 = QtGui.QHBoxLayout()
        self.hboxlayout1.setObjectName("hboxlayout1")

        self.label_2 = QtGui.QLabel(TransaksiDlg)
        self.label_2.setObjectName("label_2")
        self.hboxlayout1.addWidget(self.label_2)

        self.totalRp = QtGui.QLineEdit(TransaksiDlg)
        self.totalRp.setMaximumSize(QtCore.QSize(171,16777215))
        self.totalRp.setLayoutDirection(QtCore.Qt.RightToLeft)
        self.totalRp.setObjectName("totalRp")
        self.hboxlayout1.addWidget(self.totalRp)

        spacerItem1 = QtGui.QSpacerItem(40,20,QtGui.QSizePolicy.Fixed,QtGui.QSizePolicy.Minimum)
        self.hboxlayout1.addItem(spacerItem1)

        self.label_3 = QtGui.QLabel(TransaksiDlg)
        self.label_3.setObjectName("label_3")
        self.hboxlayout1.addWidget(self.label_3)

        self.totalPoin = QtGui.QLineEdit(TransaksiDlg)
        self.totalPoin.setMaximumSize(QtCore.QSize(111,16777215))
        self.totalPoin.setLayoutDirection(QtCore.Qt.RightToLeft)
        self.totalPoin.setObjectName("totalPoin")
        self.hboxlayout1.addWidget(self.totalPoin)

        spacerItem2 = QtGui.QSpacerItem(40,20,QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Minimum)
        self.hboxlayout1.addItem(spacerItem2)
        self.vboxlayout.addLayout(self.hboxlayout1)

        self.detailTv = QtGui.QTableView(TransaksiDlg)

        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(1)
        sizePolicy.setHeightForWidth(self.detailTv.sizePolicy().hasHeightForWidth())
        self.detailTv.setSizePolicy(sizePolicy)
        self.detailTv.setAlternatingRowColors(True)
        self.detailTv.setObjectName("detailTv")
        self.vboxlayout.addWidget(self.detailTv)
        self.gridlayout.addLayout(self.vboxlayout,0,0,1,1)

        self.retranslateUi(TransaksiDlg)
        QtCore.QMetaObject.connectSlotsByName(TransaksiDlg)
        TransaksiDlg.setTabOrder(self.noDok_cb,self.noDok)
        TransaksiDlg.setTabOrder(self.noDok,self.tgl_cb)
        TransaksiDlg.setTabOrder(self.tgl_cb,self.nama)
        TransaksiDlg.setTabOrder(self.nama,self.masterTv)
        TransaksiDlg.setTabOrder(self.masterTv,self.detailTv)

    def retranslateUi(self, TransaksiDlg):
        TransaksiDlg.setWindowTitle(QtGui.QApplication.translate("TransaksiDlg", "Poin Transaksi", None, QtGui.QApplication.UnicodeUTF8))
        self.noMmc_cb.setText(QtGui.QApplication.translate("TransaksiDlg", "No MMC:", None, QtGui.QApplication.UnicodeUTF8))
        self.nama_cb.setText(QtGui.QApplication.translate("TransaksiDlg", "Nama Plg:", None, QtGui.QApplication.UnicodeUTF8))
        self.tgl_cb.setText(QtGui.QApplication.translate("TransaksiDlg", "Tgl:", None, QtGui.QApplication.UnicodeUTF8))
        self.tgl_aw.setDisplayFormat(QtGui.QApplication.translate("TransaksiDlg", "dd-MM-yyyy", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(QtGui.QApplication.translate("TransaksiDlg", "To", None, QtGui.QApplication.UnicodeUTF8))
        self.tgl_ak.setDisplayFormat(QtGui.QApplication.translate("TransaksiDlg", "dd-MM-yyyy", None, QtGui.QApplication.UnicodeUTF8))
        self.noDok_cb.setText(QtGui.QApplication.translate("TransaksiDlg", "No Dok:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_2.setText(QtGui.QApplication.translate("TransaksiDlg", "Total Rp:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_3.setText(QtGui.QApplication.translate("TransaksiDlg", "Total Poin:", None, QtGui.QApplication.UnicodeUTF8))



if __name__ == "__main__":
    import sys
    app = QtGui.QApplication(sys.argv)
    TransaksiDlg = QtGui.QDialog()
    ui = Ui_TransaksiDlg()
    ui.setupUi(TransaksiDlg)
    TransaksiDlg.show()
    sys.exit(app.exec_())
